QuerySubset<T, C>(T, C, bool)

Method

Namespace: Ignis

Declared in: Ignis.IEntityManager


Queries entity IDs from the specified enumerable that have the specified components. If you care about performance and memory allocation, consider using Query(Span<int>, ReadOnlySpan<Type>) and other overloads with Span, or GetView(Type[]) .

Syntax

public IEnumerable<int> QuerySubset<T, C>(
	T ids,
	C componentTypes,
	bool checkExistence
)

Parameters

ids

Entity ID subset to check

checkExistence

Should the ID existence be checked


Back to index